package sg.edu.nus.iss.club;

public class Member extends Person{

	private int membershipNo;
	
	public Member(String surname, String firstName, String secondName,int membershipNo ) {
		super(surname, firstName, secondName);		
		this.membershipNo=membershipNo;
	}
	
	public int getMemberNumber(){
		return membershipNo; 
	}
	
	@Override
	public String toString(){
		String fullName= super.toString();
		return " Membership :  "+ membershipNo + "   Name :  "+ fullName;		
	}
	
	public String show(){
		return this.toString();
	}
		
	
}
